NetworkCloud 2022-12-12 API - aaz test recordings added for all resources #6245
NetworkCloud 2022-12-12 API - aaz test recordings added for all resources #6245kairu-ms merged 11 commits intoAzure:mainfrom
Conversation
|
Hi @priyamshet, |
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
e72808d to
6fa35ca
Compare
|
This PR has been updated to include aaz recordings for all test resources. |
6fa35ca to
8444bb3
Compare
8444bb3 to
a431e22
Compare
src/networkcloud/azext_networkcloud/aaz/operations/custom_properties.py
Outdated
Show resolved
Hide resolved
src/networkcloud/azext_networkcloud/aaz/operations/baremetalmachine/_run_data_extract.py
Outdated
Show resolved
Hide resolved
…het/azure-cli-extensions into priyashet/networkCloudAutomation
src/networkcloud/azext_networkcloud/aaz/latest/networkcloud/baremetalmachine/_power_off.py
Show resolved
Hide resolved
src/networkcloud/azext_networkcloud/aaz/latest/networkcloud/cluster/_create.py
Outdated
Show resolved
Hide resolved
...rkcloud/azext_networkcloud/aaz/latest/networkcloud/cluster/baremetalmachinekeyset/_create.py
Outdated
Show resolved
Hide resolved
...rkcloud/azext_networkcloud/aaz/latest/networkcloud/cluster/baremetalmachinekeyset/_create.py
Outdated
Show resolved
Hide resolved
...xt_networkcloud/aaz/latest/networkcloud/storageappliance/_enable_remote_vendor_management.py
Outdated
Show resolved
Hide resolved
src/networkcloud/azext_networkcloud/aaz/latest/networkcloud/virtualmachine/_power_off.py
Show resolved
Hide resolved
src/networkcloud/azext_networkcloud/operations/baremetalmachine/_run_command.py
Outdated
Show resolved
Hide resolved
src/networkcloud/azext_networkcloud/operations/baremetalmachine/_run_command.py
Outdated
Show resolved
Hide resolved
src/networkcloud/azext_networkcloud/operations/cluster/metricsconfiguration/_create.py
Outdated
Show resolved
Hide resolved
src/networkcloud/azext_networkcloud/operations/cluster/metricsconfiguration/common.py
Outdated
Show resolved
Hide resolved
| def _build_arguments_schema(cls, args_schema): | ||
| # deregister the Cluster metrics configuration name argument which users | ||
| # should not interact with | ||
| args_schema.metrics_configuration_name._registered = False | ||
| args_schema.metrics_configuration_name._required = False | ||
| return args_schema | ||
|
|
||
| @classmethod | ||
| def pre_operations(cls, args): | ||
| ''' "default" is the default name for the metrics configuration name ''' | ||
| args.metrics_configuration_name = "default" | ||
| return args |
There was a problem hiding this comment.
@necusjz, I think we can add additional property called 'const' in aaz, for some required arguments which are not allowed to input a value. Or we can improve the logic of 'default' in aaz runtime, which can assign default value when it's not registered.
src/networkcloud/azext_networkcloud/operations/virtualmachine/_create.py
Outdated
Show resolved
Hide resolved
src/networkcloud/azext_networkcloud/operations/virtualmachine/_create.py
Outdated
Show resolved
Hide resolved
|
@kairu-ms please see the PR to update command models as suggested above: Azure/aaz#206 |
LGTM. It's merged. |
…het/azure-cli-extensions into priyashet/networkCloudAutomation
…het/azure-cli-extensions into priyashet/networkCloudAutomation
…het/azure-cli-extensions into priyashet/networkCloudAutomation
…het/azure-cli-extensions into priyashet/networkCloudAutomation
|
@kairu-ms please check our updates as per your suggestions |
src/networkcloud/azext_networkcloud/operations/custom_properties.py
Outdated
Show resolved
Hide resolved
Thanks for the update. Added one comment. The rest LGTM. |
…het/azure-cli-extensions into priyashet/networkCloudAutomation
|
@kairu-ms thanks for the re-review, the comments have been addressed. |
PR is approved. Ping me when you need to merge and release it. |
|
[Release] Update index.json for extension [ networkcloud ] : https://dev.azure.com/azclitools/internal/_build/results?buildId=64666&view=results |
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
General Guidelines
azdev style <YOUR_EXT>locally? (pip install azdevrequired)python scripts/ci/test_index.py -qlocally?For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update
src/index.jsonautomatically.You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify
src/index.json.